#include<bits/stdc++.h>
using namespace std;
int main()
{
	int n=1e5,l=20;
	printf("%d %d\n",n,l);
	for(int i=1;i<=n;++i)printf("%c",rand()%26+'a');
	puts("");
	return 0;
}
